android_get_application_target_sdk_version

Returns the targetSdkVersion of the caller, or __ANDROID_API_FUTURE__ if there is no known target SDK version (for code not running in the context of an app).

The returned values correspond to the named constants in <android/api-level.h>, and is equivalent to the AndroidManifest.xml targetSdkVersion.

See also android_get_device_api_level().

Available since API level 24.

extern (C) nothrow @nogc
int
android_get_application_target_sdk_version
(
)

Meta